home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / mklfs / RCS / mklfs.man,v < prev   
Encoding:
Text File  |  1992-09-08  |  5.3 KB  |  162 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    shirriff:1.3; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.3
  10. date     91.12.17.22.14.25;  author jhh;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     91.12.17.15.04.23;  author mendel;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     91.05.31.11.11.06;  author mendel;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @Man page for mklfs program.
  27. @
  28.  
  29.  
  30. 1.3
  31. log
  32. @sets partition and domainUID fields in the superblock. Also allows the user to set the domainPrefix field.
  33. @
  34. text
  35. @'\" Copyright 1989 Regents of the University of California
  36. '\" Permission to use, copy, modify, and distribute this
  37. '\" documentation for any purpose and without fee is hereby
  38. '\" granted, provided that this notice appears in all copies.
  39. '\" The University of California makes no representations about
  40. '\" the suitability of this material for any purpose.  It is
  41. '\" provided "as is" without express or implied warranty.
  42. '\" 
  43. '\" $Header: /sprite/src/admin/mklfs/RCS/mklfs.man,v 1.2 91/12/17 15:04:23 mendel Exp Locker: jhh $ SPRITE (Berkeley)
  44. '/" 
  45. .so \*(]ltmac.sprite
  46. .HS MKLFS cmds
  47. .BS
  48. .SH NAME
  49. mklfs \- Create an empty LFS file system on a disk partition.
  50. .SH SYNOPSIS
  51. .nf
  52. \fBmklfs [\fIoptions\fR] \fIdeviceName\fR [\fIprefix\fR]
  53. .SH OPTIONS
  54. .IP \fIdeviceName\fP 14
  55. The device on which the file system should be created. This device
  56. should be a disk partition complete with a disk label that specifies
  57. its size.  WARNING: THE CONTENTS OF THIS DEVICE ARE OVERWRITTEN BY MKLFS.
  58. .IP \fIprefix\fP 14
  59. Name of the file system (its prefix).
  60. You only need to specify this prefix if you wish to have the
  61. file system automatically mounted by \fBfsmount\fP 
  62. during the boot sequence.
  63. You can manually mount the file system under any name you want via the
  64. \fBprefix\fP command.
  65. .IP "\fB\-maxNumCacheBlocks\fI NumCacheBlocks\fR" 14
  66. \fINumCacheBlocks\fP is the maximum number of file cache blocks 
  67. available on the machine. This number defaults to the maximum number
  68. on the machine running the program.  
  69. .IP "\fB\-maxCacheBlocksCleaned\fI NumCacheBlocks\fR" 14
  70. \fINumCacheBlocks\fP is the maximum number of file cache files
  71. that will be reserved for cleaning. A negative value causes mklfs to 
  72. compute this number based on the segment and file cache size.
  73. .IP "\fB\-spriteID\fI id\fR" 14
  74. \fIid\fP is the Sprite hostname id specified in the superblock.  This
  75. id is used to inform a machine of its name at boot time.  It defaults
  76. to the Sprite ID of the machine running mklfs.
  77. .IP "\fB\-maxUtilization\fI Utilization\fR" 14
  78. \fIUtilization\fP is the maximum fraction of the disk space usable by
  79. the file system.  
  80. .IP "\fB\-maxDesc\fI NumDesc\fR" 14
  81. \fINumDesc\fP is the maximum number of descriptors available in the
  82. file system. A negative value causes mklfs to compute this number
  83. based on the disk size.
  84. .IP "\fB\-segAlignment\fI Alignment\fR" 14
  85. \fIAlignment\fP is the alignment in bytes where the first segment should start.
  86. .IP "\fB\-blockSize\fI size\fR" 14
  87. \fIsize\fP is block size of the file system in bytes. The block
  88. size is the minimum unit of allocation and should be a multiple of
  89. the device's sector size.
  90. .IP "\fB\-segmentSize\fI size\fR" 14
  91. \fIsize\fP is the segment size of the file system in bytes. The segment
  92. size should be a multiple of the block size.
  93. .IP "\fB\-numSegments\fI NumSegments\fR" 14
  94. \fINumSegments\fP is the number of segments to use on the file system. A
  95. negative value causes mklfs to compute the number of segments based on
  96. the size of the disk.
  97. .IP "\fB\-descBlockSize\fI size\fR" 14
  98. \fIsize\fP is the size in bytes of the blocks used to store
  99. file descriptors in the log. This number should be a multiple of the
  100. block size.
  101. .IP "\fB\-descMapBlockSize\fI size\fR" 14
  102. \fIsize\fP is the block size in byte used for the descriptor
  103. map data structure. This number should be a multiple of the
  104. block size.
  105. .IP "\fB\-usageArrayBlockSize\fI size\fR" 14
  106. \fIsize\fP is the block size in byte used for the segment
  107. usage array data structure. This number should be a multiple of the
  108. block size.
  109. .BE
  110.  
  111. .SH DESCRIPTION
  112. .PP
  113. \fBMklfs\fR will create an empty Sprite LFS filesystem on a disk partition. 
  114. The filesystem is created to use the
  115. entire disk partition and initialized to look like an Sprite LFS
  116. file system containing a root directory with a lost+found directory.
  117. Care should be taken because anything already present on the partition
  118. will be overwritten.
  119. .PP
  120. \fBMklfs\fR has a large number of options that control the maximum limits of
  121. various file system data structures, the characteristic of the machine
  122. that will the device for the file system, and the disk layout format
  123. the file system.
  124. All options except the deviceName specifier are optional and default
  125. to reasonable values if not specified.
  126. If the program is being run on a machine other than the one that 
  127. the machine to which the disk will be attached from, the options 
  128. that describe the machine characteristic will need to be specified.
  129. .SH KEYWORDS
  130. filesystem, LFS, sprite
  131.  
  132. @
  133.  
  134.  
  135. 1.2
  136. log
  137. @checking these in for mendel -- jhh
  138. @
  139. text
  140. @d9 1
  141. a9 1
  142. '\" $Header: /sprite/src/admin/mklfs/RCS/mklfs.man,v 1.1 91/05/31 11:11:06 mendel Exp $ SPRITE (Berkeley)
  143. d18 1
  144. a18 1
  145. \fBmklfs [\fIoptions\fR] \fIdeviceName\fR
  146. d24 7
  147. @
  148.  
  149.  
  150. 1.1
  151. log
  152. @Initial revision
  153. @
  154. text
  155. @d9 1
  156. a9 1
  157. '\" $Header: /sprite/src/admin/fsmake/RCS/fsmake.man,v 1.4 90/07/02 22:15:23 jhh Exp $ SPRITE (Berkeley)
  158. d14 1
  159. a14 1
  160. .SH MKLFS
  161. @
  162.